﻿@model xiushen.Domain.Videos

@{
    ViewBag.Title = "title";
}
<script src="/xiushen/Scripts/swfobject.js" type="text/javascript"></script>
@*<script src="/xiushen/Scripts/flash.js" type="text/javascript"></script>*@
<script src="http://www.58dm.com/Scripts/main.js" type="text/javascript"></script>

<link href="/xiushen/Content/swf.css" rel="stylesheet" type="text/css" />
<a href="@Url.Action("MoreVideos", new { categoryId = Model.CategoryID })">查看更多</a>
<div class="p-player">
    <div class="p-vbox">
        <h1></h1>
        <div class="p-v">
            <div id="playerBox">
            </div>
        </div>
        <div class="p-oper">
            <a class="prev" href="/v/huoyingrenzhe/tudou-513.html" title="火影忍者513">上一集</a><a
                class="next" href="javascript:" onclick="alert('没有下一集啦')" title="没有下一集啦">下一集</a><a
                    href="javascript:" onclick="window.dialog = new ui.Dialog({ title: '报错反馈', height: 286, url: '/Help/ErrorFeedback.aspx?id=964744092&set=514' });"
                    class="error">报错反馈</a><a href="javascript:" onclick="utils.copyToClipboard('火影忍者514 , ' + location.href, function() { alert('复制成功，分享给你的朋友吧！') });"
                        class="copy">复制本页网址</a><span class="auto"><input type="checkbox" id="autonext" /><label
                            for="autonext">自动连播</label></span>
             <script type="text/javascript">
                 site.qqshare();
                 var playerInfo = {
                     nextPage: 'http://www.58dm.com/v/QinShiMingYueZhiWanLiChangCheng/tudou-03.html',
                     prevPage: 'http://www.58dm.com/v/QinShiMingYueZhiWanLiChangCheng/tudou-01.html'
                 };
                 var player = new dhp.Player({ el: '#playerBox' });
                 player.play('@Model.SourceSite', '@Model.SourceFile');
                 if (player.supportAutoNext('@Model.SourceSite')) {
                     $('.auto').show();
                     var ck = $('#autonext').click(function () {
                         player.autoNextStatus(this.checked);
                     });
                     if (player.autoNextStatus()) ck.attr('checked', 'checked');
                 }
            </script>
        </div>
    </div>
</div>